package com.mb.app.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 用户借款信息
 * </p>
 *
 * @author liliping
 * @since 2019-03-21
 */
@TableName("tb_user_loan")
public class TbUserLoan implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(value = "id")
	private Long id;

	/**
	 * 用户编号 
	 */
	@TableField(value="user_id")
	private Long userId;

	/**
	 * 借款时间
	 */
	@TableField(value="loan_time")
	private Date loanTime;

	/**
	 * 借款状态
0：待审核
1：审核通过
2：审核不通过
3：已放款
	 */
	@TableField(value="loan_status")
	private Integer loanStatus;

	/**
	 * 借款金额
	 */
	@TableField(value="loan_amt")
	private BigDecimal loanAmt;

	/**
	 * 到账金额
	 */
	@TableField(value="arrive_amt")
	private BigDecimal arriveAmt;

	/**
	 * 借款周期
1：7 天
2：14天
3：30天
3：60天
	 */
	@TableField(value="loan_term")
	private Integer loanTerm;

	/**
	 * 利息
	 */
	private BigDecimal interest;

	/**
	 * 服务费
	 */
	@TableField(value="service_amt")
	private BigDecimal serviceAmt;

	/**
	 * 到期应还金额
	 */
	@TableField(value="expire_return_amt")
	private BigDecimal expireReturnAmt;

	/**
	 * 数据状态
0：删除
1：正常
	 */
	@TableField(value="data_status")
	private Integer dataStatus;



	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Date getLoanTime() {
		return loanTime;
	}

	public void setLoanTime(Date loanTime) {
		this.loanTime = loanTime;
	}

	public Integer getLoanStatus() {
		return loanStatus;
	}

	public void setLoanStatus(Integer loanStatus) {
		this.loanStatus = loanStatus;
	}

	public BigDecimal getLoanAmt() {
		return loanAmt;
	}

	public void setLoanAmt(BigDecimal loanAmt) {
		this.loanAmt = loanAmt;
	}

	public BigDecimal getArriveAmt() {
		return arriveAmt;
	}

	public void setArriveAmt(BigDecimal arriveAmt) {
		this.arriveAmt = arriveAmt;
	}

	public Integer getLoanTerm() {
		return loanTerm;
	}

	public void setLoanTerm(Integer loanTerm) {
		this.loanTerm = loanTerm;
	}

	public BigDecimal getInterest() {
		return interest;
	}

	public void setInterest(BigDecimal interest) {
		this.interest = interest;
	}

	public BigDecimal getServiceAmt() {
		return serviceAmt;
	}

	public void setServiceAmt(BigDecimal serviceAmt) {
		this.serviceAmt = serviceAmt;
	}

	public BigDecimal getExpireReturnAmt() {
		return expireReturnAmt;
	}

	public void setExpireReturnAmt(BigDecimal expireReturnAmt) {
		this.expireReturnAmt = expireReturnAmt;
	}

	public Integer getDataStatus() {
		return dataStatus;
	}

	public void setDataStatus(Integer dataStatus) {
		this.dataStatus = dataStatus;
	}

}
